#ifndef OSS_PKG_ADD_H
#define OSS_PKG_ADD_H

#include <QDialog>
#include <QFile>
#include <QString>
#include <QTextStream>
#include <QDomDocument>
#include <QDomNode>
#include <QMessageBox>

namespace Ui {
class oss_pkg_add;
}

class oss_pkg_add : public QDialog
{
    Q_OBJECT

public:
    explicit oss_pkg_add(QWidget *parent = 0);
    ~oss_pkg_add();

protected:
    void changeEvent(QEvent *e);

private slots:
    void on_xml_read_clicked();
    void creat_xml();

    void on_xml_add_clicked();

private:
    Ui::oss_pkg_add *ui;
    QDomDocument doc;
};

#endif // OSS_PKG_ADD_H
